package yunhe.entity;

public class SaleAppend {
	private int saleId;
	private Sale sale;
	private Product product;
	private int saleQuantity;
	private double salePrice;
	private double saleDiscount;
	private double saleTotal;
	
	public SaleAppend() {
		
	}
	
	public SaleAppend(int saleId, Sale sale, Product product, int saleQuantity,
			double salePrice, double saleDiscount, double saleTotal) {
		this.saleId = saleId;
		this.sale = sale;
		this.product = product;
		this.saleQuantity = saleQuantity;
		this.salePrice = salePrice;
		this.saleDiscount = saleDiscount;
		this.saleTotal = saleTotal;
	}

	public int getSaleId() {
		return saleId;
	}
	public void setSaleId(int saleId) {
		this.saleId = saleId;
	}
	public Sale getSale() {
		return sale;
	}
	public void setSale(Sale sale) {
		this.sale = sale;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public int getSaleQuantity() {
		return saleQuantity;
	}
	public void setSaleQuantity(int saleQuantity) {
		this.saleQuantity = saleQuantity;
	}
	public double getSalePrice() {
		return salePrice;
	}
	public void setSalePrice(double salePrice) {
		this.salePrice = salePrice;
	}
	public double getSaleDiscount() {
		return saleDiscount;
	}
	public void setSaleDiscount(double saleDiscount) {
		this.saleDiscount = saleDiscount;
	}
	public double getSaleTotal() {
		return saleTotal;
	}
	public void setSaleTotal(double saleTotal) {
		this.saleTotal = saleTotal;
	}
	
}
